Asked by duncanb7
at 2024-11-09 05:57:17
Point:500 Replies:8 POST_ID:828411USER_ID:11059
Topic:
Visual Basic Programming;Unix Operating Systems;TCP/IP
Now I am using pscp.exe software to upload 60 files to my website and I am doing benchmarking
which option is faster to ftp those files, I switch the option
-4 -6 force use of IPv4 or IPV6
-sftp force use SFTP protocol
-scp force use of SCP protocol
All option doesn't change the speed too much,
And I try to use ftpputfile API function in VBA , the speed is faster if increase buffer_size from 4k to 65K
but the VBA is single tasking and could not do mutlitasking or pipeling to send 50 files in 50 processes.
Now I am going to open 50 batch files to create 50 process using pscp.exe program that help a lot and almost
reduce 2/3 upload time from new sub of speedtest() as follows. The speed is now better but still slow. Please help
to reply my following question
Question-1 Try want to know which method in
the market is the best for ftp file transfer besides using pspc.exe ?
Question-2 Which FTP protocoll is fastest ?
Question-3, COuld I do zip all 50 files in Windows Vista int one and ftp it to server but how I
unzip the one file in my website and done unzip operation by my index.htm in my /public_html or javasript code. ?
Please advise
Duncan
Sub speedtest()
dim i as integer
Do until i=51
shell("cmd.exe /c" & "pscp" & i & ".bat",2)
i=i+1
loop
End test
which option is faster to ftp those files, I switch the option
-4 -6 force use of IPv4 or IPV6
-sftp force use SFTP protocol
-scp force use of SCP protocol
All option doesn't change the speed too much,
And I try to use ftpputfile API function in VBA , the speed is faster if increase buffer_size from 4k to 65K
but the VBA is single tasking and could not do mutlitasking or pipeling to send 50 files in 50 processes.
Now I am going to open 50 batch files to create 50 process using pscp.exe program that help a lot and almost
reduce 2/3 upload time from new sub of speedtest() as follows. The speed is now better but still slow. Please help
to reply my following question
Question-1 Try want to know which method in
the market is the best for ftp file transfer besides using pspc.exe ?
Question-2 Which FTP protocoll is fastest ?
Question-3, COuld I do zip all 50 files in Windows Vista int one and ftp it to server but how I
unzip the one file in my website and done unzip operation by my index.htm in my /public_html or javasript code. ?
Please advise
Duncan
Sub speedtest()
dim i as integer
Do until i=51
shell("cmd.exe /c" & "pscp" & i & ".bat",2)
i=i+1
loop
End test