Your best friend for file transfer.

Fetch Stopping Transfer With Error (8 posts)
- Started 22 years ago by jonau99
- Latest reply 21 years ago from Jim Matthews
-
jonau99 Member
-
Jim Matthews Administrator
I don't think you want to change the format for the upload. To figure out why it fails that 1% of the time I'd want to look at the contents of the Fetch Transcript window after a failed transfer.
It may turn out that the failures aren't easily avoidable, and in that case your best bet might be to have your script notice the failure and try again. For example you could use code like this:
set done to false
repeat while not done
try
put into url ...
set done to true
end try
end repeatYou could also have it stop trying after a certain number of attempts, in case the failure was more than a temporary problem.
Jim Matthews
Fetch Softworks -
jonau99 Member
Thank you for your prompt response.
I will put your suggestion [repeat Applescript code] to a test and see what happens.
As for the Fetch Transcript Window log, I will have to wait for the next time that the transfer fails before I can give you that since the log currently has been overwritten by other FTP activities.
I will keep you posted via this messege thread.
-
jonau99 Member
Here you go...the Fetch Transcript window of one of the failed transfers:
Note the following towards the bottom of the Transcript:
STOR TG_040801.sit
550 Can't upload: File open
ftp_store_setup: -30000 (state == RPUT_SETTING_UP)
ABOR
CStreamOT::Read() OTRcv() returned -3208
226 Transfer complete
TYPE AFYI, the file on the local server and the remote server was Not open, not that I see, and the only way to resolve this was to Timbuktu into the remote server and manually delete that whole entire folder and then redo the transfer again. And there is nothing in the Applescript that is causing this since I got the same results even when I did not run the Applescript but instead attempted a manual update via dragging and dropping the site folder from my local drive to the remote drive via a FTP connection with Fetch.
System Version = 0x921
Connecting to 111.111.111.11 port 21 (11/26/01 4:22:02 PM)
220-Welcome FTP server!
220 Service ready for new user
USER blah
331 Password required
PASS
230 User logged in
SYST
215 MACOS Peter's Server
PWD
257 "/" is current directory.
MACB ENABLE
200 MacBinary enabled
CWD WebSTAR/
250 CWD command successful
PWD
257 "/WebSTAR/" is current directory.
CWD parade
250 CWD command successful
PWD
257 "/WebSTAR/parade/" is current directory.
CWD beauty
250 CWD command successful
PWD
257 "/WebSTAR/parade/beauty/" is current directory.
TYPE I
200 Type set to I (Image) [MACBINARY ENABLED]
MACB DISABLE
200 MacBinary Disabled
PORT 204,243,168,46,252,109
200 PORT command successful
STOR beauty_head.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:08 PM
PORT 204,243,168,46,131,191
200 PORT command successful
STOR index.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:09 PM
CWD /WebSTAR/parade/
250 CWD command successful
CWD business
250 CWD command successful
PWD
257 "/WebSTAR/parade/business/" is current directory.
PORT 204,243,168,46,157,199
200 PORT command successful
STOR a.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:10 PM
PORT 204,243,168,46,139,123
200 PORT command successful
STOR contacts_head.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:11 PM
PORT 204,243,168,46,74,218
200 PORT command successful
STOR e.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:12 PM
PORT 204,243,168,46,93,62
200 PORT command successful
STOR griffin.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:13 PM
PORT 204,243,168,46,156,227
200 PORT command successful
STOR howard_h.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:14 PM
PORT 204,243,168,46,55,168
200 PORT command successful
STOR index.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:15 PM
PORT 204,243,168,46,252,131
200 PORT command successful
STOR jim_h.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:16 PM
PORT 204,243,168,46,46,46
200 PORT command successful
STOR manigan.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:16 PM
PORT 204,243,168,46,7,198
200 PORT command successful
STOR sheridan.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:17 PM
PORT 204,243,168,46,106,189
200 PORT command successful
STOR unger.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:20 PM
CWD /WebSTAR/parade/
250 CWD command successful
CWD contests
250 CWD command successful
PWD
257 "/WebSTAR/parade/contests/" is current directory.
CWD casserole
250 CWD command successful
PWD
257 "/WebSTAR/parade/contests/casserole/" is current directory.
CWD /WebSTAR/parade/contests/
250 CWD command successful
PORT 204,243,168,46,204,185
200 PORT command successful
STOR contestresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:22 PM
PORT 204,243,168,46,157,174
200 PORT command successful
STOR emailconfirmation.txt
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:23 PM
PORT 204,243,168,46,44,173
200 PORT command successful
STOR emailerr.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:24 PM
PORT 204,243,168,46,82,13
200 PORT command successful
STOR emailsent.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:24 PM
PORT 204,243,168,46,224,235
200 PORT command successful
STOR index.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:25 PM
PORT 204,243,168,46,150,8
200 PORT command successful
STOR index2.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:26 PM
PORT 204,243,168,46,32,190
200 PORT command successful
STOR rules.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:27 PM
CWD /WebSTAR/parade/
250 CWD command successful
CWD cookie_contest
250 CWD command successful
PWD
257 "/WebSTAR/parade/cookie_contest/" is current directory.
CWD images
250 CWD command successful
PWD
257 "/WebSTAR/parade/cookie_contest/images/" is current directory.
PORT 204,243,168,46,215,201
200 PORT command successful
STOR cookie_contest.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:29 PM
CWD /WebSTAR/parade/cookie_contest/
250 CWD command successful
PORT 204,243,168,46,238,201
200 PORT command successful
STOR index.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:30 PM
CWD /WebSTAR/parade/
250 CWD command successful
CWD distrib
250 CWD command successful
PWD
257 "/WebSTAR/parade/distrib/" is current directory.
PORT 204,243,168,46,5,88
200 PORT command successful
STOR newspapers.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:31 PM
PORT 204,243,168,46,8,26
200 PORT command successful
STOR paper_list_01.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:32 PM
PORT 204,243,168,46,232,173
200 PORT command successful
STOR paper_list_02.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:33 PM
PORT 204,243,168,46,204,136
200 PORT command successful
STOR paper_list_03.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:35 PM
PORT 204,243,168,46,26,27
200 PORT command successful
STOR paper_list_04.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:38 PM
CWD /WebSTAR/parade/
250 CWD command successful
CWD email
250 CWD command successful
PWD
257 "/WebSTAR/parade/email/" is current directory.
CWD form_pages
250 CWD command successful
PWD
257 "/WebSTAR/parade/email/form_pages/" is current directory.
PORT 204,243,168,46,23,92
200 PORT command successful
STOR advertising.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:40 PM
PORT 204,243,168,46,179,169
200 PORT command successful
STOR advertisingresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:41 PM
PORT 204,243,168,46,42,222
200 PORT command successful
STOR askmarilyn.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:41 PM
PORT 204,243,168,46,122,51
200 PORT command successful
STOR askmarilynresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:42 PM
PORT 204,243,168,46,198,92
200 PORT command successful
STOR editor.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:43 PM
PORT 204,243,168,46,242,170
200 PORT command successful
STOR editorresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:44 PM
PORT 204,243,168,46,141,44
200 PORT command successful
STOR emailconfirmation.txt
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:44 PM
PORT 204,243,168,46,100,48
200 PORT command successful
STOR emailerr.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:45 PM
PORT 204,243,168,46,177,240
200 PORT command successful
STOR emailsent.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:46 PM
PORT 204,243,168,46,7,114
200 PORT command successful
STOR error.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:46 PM
PORT 204,243,168,46,7,152
200 PORT command successful
STOR fitness.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:47 PM
PORT 204,243,168,46,185,71
200 PORT command successful
STOR fitnessresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:48 PM
PORT 204,243,168,46,21,146
200 PORT command successful
STOR freshvoices.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:49 PM
PORT 204,243,168,46,83,206
200 PORT command successful
STOR freshvoicesresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:49 PM
PORT 204,243,168,46,26,76
200 PORT command successful
STOR personality.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:50 PM
PORT 204,243,168,46,131,16
200 PORT command successful
STOR personalityresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:51 PM
PORT 204,243,168,46,198,129
200 PORT command successful
STOR simplydelicious.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:52 PM
PORT 204,243,168,46,66,141
200 PORT command successful
STOR simplydeliciousresponse.lasso
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:52 PM
PORT 204,243,168,46,74,26
200 PORT command successful
STOR thanks.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:53 PM
CWD /WebSTAR/parade/email/
250 CWD command successful
CWD images
250 CWD command successful
PWD
257 "/WebSTAR/parade/email/images/" is current directory.
PORT 204,243,168,46,7,8
200 PORT command successful
STOR lynn.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:57 PM
PORT 204,243,168,46,215,22
200 PORT command successful
STOR marilyn.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:57 PM
PORT 204,243,168,46,117,17
200 PORT command successful
STOR oshea.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:58 PM
PORT 204,243,168,46,221,211
200 PORT command successful
STOR p.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:59 PM
PORT 204,243,168,46,94,132
200 PORT command successful
STOR response_center.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:22:59 PM
PORT 204,243,168,46,63,205
200 PORT command successful
STOR shelea.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:00 PM
CWD /WebSTAR/parade/email/
250 CWD command successful
PORT 204,243,168,46,175,144
200 PORT command successful
STOR index.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:01 PM
CWD /WebSTAR/parade/
250 CWD command successful
CWD favorite_drive
250 CWD command successful
PWD
257 "/WebSTAR/parade/favorite_drive/" is current directory.
CWD images
250 CWD command successful
PWD
257 "/WebSTAR/parade/favorite_drive/images/" is current directory.
PORT 204,243,168,46,44,30
200 PORT command successful
STOR deborah.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:03 PM
PORT 204,243,168,46,122,15
200 PORT command successful
STOR donald.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:03 PM
PORT 204,243,168,46,150,180
200 PORT command successful
STOR greg.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:04 PM
PORT 204,243,168,46,66,32
200 PORT command successful
STOR header.gif
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:05 PM
PORT 204,243,168,46,86,146
200 PORT command successful
STOR juliane.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:06 PM
PORT 204,243,168,46,141,9
200 PORT command successful
STOR keith.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:07 PM
PORT 204,243,168,46,88,197
200 PORT command successful
STOR maryann.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:08 PM
PORT 204,243,168,46,255,118
200 PORT command successful
STOR shannon.jpg
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:09 PM
CWD /WebSTAR/parade/favorite_drive/
250 CWD command successful
PORT 204,243,168,46,177,147
200 PORT command successful
STOR index.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:10 PM
PORT 204,243,168,46,85,228
200 PORT command successful
STOR page2.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:13 PM
PORT 204,243,168,46,38,31
200 PORT command successful
STOR page3.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:14 PM
PORT 204,243,168,46,215,28
200 PORT command successful
STOR page4.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:15 PM
PORT 204,243,168,46,169,105
200 PORT command successful
STOR page5.html
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:15 PM
CWD /WebSTAR/parade/
250 CWD command successful
CWD files
250 CWD command successful
PWD
257 "/WebSTAR/parade/files/" is current directory.
CWD classroom
250 CWD command successful
PWD
257 "/WebSTAR/parade/files/classroom/" is current directory.
PORT 204,243,168,46,47,170
200 PORT command successful
STOR anytime_activities.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:19 PM
PORT 204,243,168,46,115,226
200 PORT command successful
STOR edit_calendar.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:22 PM
PORT 204,243,168,46,4,31
200 PORT command successful
STOR entry_form.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:27 PM
PORT 204,243,168,46,154,143
200 PORT command successful
STOR poetrycontest_entry_form.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:30 PM
PORT 204,243,168,46,71,11
200 PORT command successful
STOR poetrycontest_entry_form.zip
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:35 PM
PORT 204,243,168,46,77,216
200 PORT command successful
STOR quiz.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:38 PM
PORT 204,243,168,46,163,65
200 PORT command successful
STOR TG_010701.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:42 PM
PORT 204,243,168,46,48,247
200 PORT command successful
STOR TG_011401.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:46 PM
PORT 204,243,168,46,182,43
200 PORT command successful
STOR TG_012101.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:54 PM
PORT 204,243,168,46,230,18
200 PORT command successful
STOR TG_012801.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:23:58 PM
PORT 204,243,168,46,226,150
200 PORT command successful
STOR TG_020401.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:00 PM
PORT 204,243,168,46,235,85
200 PORT command successful
STOR TG_021101.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:06 PM
PORT 204,243,168,46,42,131
200 PORT command successful
STOR TG_021801.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:11 PM
PORT 204,243,168,46,24,250
200 PORT command successful
STOR TG_022501.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:22 PM
PORT 204,243,168,46,5,2
200 PORT command successful
STOR TG_030401.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:25 PM
PORT 204,243,168,46,225,50
200 PORT command successful
STOR TG_031101.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:31 PM
PORT 204,243,168,46,205,67
200 PORT command successful
STOR TG_031801.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:33 PM
PORT 204,243,168,46,23,251
200 PORT command successful
STOR TG_032501.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:39 PM
PORT 204,243,168,46,98,145
200 PORT command successful
STOR TG_040101.sit
150 Opening connection
226 Transfer complete
Upload complete at 11/26/01 4:24:42 PM
PORT 204,243,168,46,81,89
200 PORT command successful
STOR TG_040801.sit
550 Can't upload: File open
ftp_store_setup: -30000 (state == RPUT_SETTING_UP)
ABOR
CStreamOT::Read() OTRcv() returned -3208
226 Transfer complete
TYPE A
200 Type set to A (ASCII)
PORT 204,243,168,46,181,123
200 PORT command successful
LIST
150 Opening connection
-r--r--r-- 0 383302 383302 Nov 26 16:23 anytime_activities.sit
-r--r--r-- 0 245810 245810 Nov 26 16:23 edit_calendar.sit
-r--r--r-- 0 581709 581709 Nov 26 16:23 entry_form.sit
-r--r--r-- 0 237062 237062 Nov 15 13:32 poetry_Letter_101401.pdf
-r--r--r-- 0 289954 289954 Nov 26 16:23 poetrycontest_entry_form.sit
-r--r--r-- 0 287269 287269 Nov 26 16:23 poetrycontest_entry_form.zip
-r--r--r-- 0 300874 300874 Nov 26 16:23 quiz.sit
-r--r--r-- 0 371420 371420 Nov 26 16:23 TG_010701.sit
-r--r--r-- 0 549133 549133 Nov 26 16:23 TG_011401.sit
-r--r--r-- 0 532326 532326 Nov 26 16:23 TG_012101.sit
-r--r--r-- 0 456706 456706 Nov 26 16:23 TG_012801.sit
-r--r--r-- 0 249238 249238 Nov 26 16:24 TG_020401.sit
-r--r--r-- 0 519468 519468 Nov 26 16:24 TG_021101.sit
-r--r--r-- 0 286706 286706 Nov 26 16:24 TG_021801.sit
-r--r--r-- 0 1014277 1014277 Nov 26 16:24 TG_022501.sit
-r--r--r-- 0 251644 251644 Nov 26 16:24 TG_030401.sit
-r--r--r-- 0 447453 447453 Nov 26 16:24 TG_031101.sit
-r--r--r-- 0 221970 221970 Nov 26 16:24 TG_031801.sit
-r--r--r-- 0 577482 577482 Nov 26 16:24 TG_032501.sit
-r--r--r-- 0 295212 295212 Nov 26 16:24 TG_040101.sit
-r--r--r-- 0 40068 40068 Nov 26 15:25 TG_040801.sit
-r--r--r-- 0 245052 245052 Nov 24 09:40 TG_041501.sit
-r--r--r-- 0 197315 197315 Nov 24 09:40 TG_042201.sit
-r--r--r-- 0 236877 236877 Nov 24 09:40 TG_042901.sit
-r--r--r-- 0 262638 262638 Nov 24 09:40 TG_050601.sit
-r--r--r-- 0 379065 379065 Nov 24 09:40 TG_051301.sit
-r--r--r-- 0 250925 250925 Nov 24 09:40 TG_052001.sit
-r--r--r-- 0 389415 389415 Nov 24 09:40 TG_052701.sit
-r--r--r-- 0 507721 507721 Nov 24 09:40 TG_090201.sit
-r--r--r-- 0 539616 539616 Nov 24 09:40 TG_090901.sit
-r--r--r-- 0 558745 558745 Nov 24 09:41 TG_091000.sit
-r--r--r-- 0 1012021 1012021 Nov 24 09:41 TG_091601.sit
-r--r--r-- 0 558528 558528 Nov 24 09:41 TG_091700.sit
-r--r--r-- 0 487618 487618 Nov 24 09:41 TG_092400.sit
-r--r--r-- 0 530614 530614 Nov 24 09:41 TG_093001.sit
-r--r--r-- 0 105715 105715 Nov 24 09:41 TG_100100.sit
-r--r--r-- 0 534499 534499 Nov 24 09:41 TG_100701.sit
-r--r--r-- 0 711402 711402 Nov 24 09:41 TG_100800.sit
-r--r--r-- 0 615112 615112 Nov 24 09:41 TG_101401.sit
-r--r--r-- 0 826021 826021 Nov 24 09:41 TG_101500.sit
-r--r--r-- 0 667997 667997 Nov 24 09:41 TG_102101.sit
-r--r--r-- 0 517031 517031 Nov 24 09:42 TG_102200.sit
-r--r--r-- 0 628482 628482 Nov 24 09:42 TG_102801.sit
-r--r--r-- 0 436908 436908 Nov 24 09:42 TG_102900.sit
-r--r--r-- 0 520144 520144 Nov 24 09:42 TG_110401.sit
-r--r--r-- 0 629560 629560 Nov 24 09:42 TG_110500.sit
-r--r--r-- 0 596290 596290 Nov 24 09:42 TG_111101.sit
-r--r--r-- 0 623737 623737 Nov 24 09:42 TG_111200.sit
-r--r--r-- 0 573588 573588 Nov 24 09:42 TG_111801.sit
-r--r--r-- 0 76146 76146 Nov 24 09:42 TG_111900.sit
-r--r--r-- 0 532776 532776 Nov 24 09:42 TG_112501.sit
-r--r--r-- 0 511809 511809 Nov 24 09:42 TG_112600.sit
-r--r--r-- 0 597010 597010 Nov 24 09:43 TG_120300.sit
-r--r--r-- 0 778636 778636 Nov 24 09:43 TG_121000.sit
-r--r--r-- 0 577355 577355 Nov 24 09:43 TG_121700.sit
-r--r--r-- 0 611303 611303 Nov 24 09:43 TG_123100.sit
-r--r--r-- 0 819277 819277 Nov 24 09:43 TG_special_guide.sit
-r--r--r-- 0 796811 796811 Nov 24 09:43 TG_special_guide.zip
226 Transfer complete
CWD /WebSTAR/parade
250 CWD command successful
PWD
257 "/WebSTAR/parade/" is current directory.
PORT 204,243,168,46,241,128
200 PORT command successful
LIST
150 Opening connection
-r--r--r-- 0 8196 8196 Nov 15 13:30 .DS_Store
dr--r--r-- folder 2 Nov 26 16:22 beauty
dr--r--r-- folder 10 Nov 26 16:22 business
dr--r--r-- folder 8 Nov 26 16:22 contests
dr--r--r-- folder 2 Nov 26 16:22 cookie_contest
dr--r--r-- folder 5 Nov 26 16:22 distrib
dr--r--r-- folder 3 Nov 26 16:23 email
dr--r--r-- folder 6 Nov 26 16:23 favorite_drive
dr--r--r-- folder 3 Nov 5 15:49 files
dr--r--r-- folder 3 Nov 24 10:23 gadget_guide
dr--r--r-- folder 1 Nov 24 10:23 GeneratedItems
dr--r--r-- folder 6 Nov 24 10:23 images
-r--r--r-- 0 4762 4762 Nov 24 10:23 index.html
dr--r--r-- folder 2 Nov 15 14:21 inside
dr--r--r-- folder 5 Nov 24 10:24 marilyn
dr--r--r-- folder 5 Nov 24 10:24 media_relations
dr--r--r-- folder 2 Nov 24 10:25 nav components
-r--r--r-- 0 462 462 Nov 24 10:25 paradetext.css
dr--r--r-- folder 2 Nov 24 10:25 photoshop files
dr--r--r-- folder 1 Nov 24 10:25 privacy
-r--r--r-- 0 24440 24440 Nov 24 10:25 robots.txt
226 Transfer complete[This message has been edited by jonau99 (edited 12-04-2001).]
-
Jim Matthews Administrator
The FTP server (which appears to be NetPresenz) is reporting that the file TG_040801.sit is open on its end. Working around this would probably require changing the script to upload one file at a time. Then, if this error occurred, you could catch it and rename the existing file on the server in order to get it out of the way.
Another option would be to move all the existing files out of the way before doing the upload. That would make parts of the website unavailable during the transfer, though.
I can see that it would be useful if Fetch could continue after the error and report back which files had problems, so you could fix the problems without having to re-upload everything. I'll see about adding that sort of ability.
I hope this helps,
Jim Matthews
Fetch Softworks -
jonau99 Member
Originally posted by JimMatthews:
The FTP server (which appears to be NetPresenz) is reporting that the file TG_040801.sit is open on its end. Working around this would probably require changing the script to upload one file at a time. Then, if this error occurred, you could catch it and rename the existing file on the server in order to get it out of the way.
Another option would be to move all the existing files out of the way before doing the upload. That would make parts of the website unavailable during the transfer, though.
I can see that it would be useful if Fetch could continue after the error and report back which files had problems, so you could fix the problems without having to re-upload everything. I'll see about adding that sort of ability.
I hope this helps,
Jim Matthews
Fetch SoftworksActually, this particular server is running Rumpus 2.0.2 for Mac OS and we have another server running WebSTAR FTP (the built-in FTP server within the WebSTAR webserver).
As for removing the site folder on the remote server and then uploading to the site, we have tried to remove [via Fetch FTP] the entire site folder from the remote server and then upload from local drive to remote drive to no avail. However, if I Timbuktu Pro (remote control) into the remote server and manually [via the Finder] delete the site folder in question and then do another file transfer, then would work.
Our next step is to maybe upload [via Applescript] from the local drive to ANOTHER different folder on the remote drive and then have a separate Applescript on the remote server that will Rename the just transferred folder to the actual site folder with replacing.
[This message has been edited by jonau99 (edited 12-04-2001).]
-
jonau99 Member
Originally posted by JimMatthews:
I can see that it would be useful if Fetch could continue after the error and report back which files had problems, so you could fix the problems without having to re-upload everything. I'll see about adding that sort of ability.
Jim Matthews
Fetch SoftworksIs this problem only with Fetch 4.x or is this also true with Fetch 3.0.3? If Fetch 3.0.3 just upload files without regard to errors, then we could switch back to Fetch 3.0.3.
[This message has been edited by jonau99 (edited 12-05-2001).]
-
Jim Matthews Administrator
Fetch 3.0.3 would be the same as 4.0 in this regard.
Uploading to an empty temporary folder and then doing a quick switch after the upload is probably your best bet. You could do the switch with Fetch as well, using the rename Apple Event.
Jim Matthews
Fetch Softworks
- Page 1
Topic closed
This topic has been closed.
We have an Applescript applet running on a PowerMacintosh Blue and White G3 computer with Mac OS 9.1 and 500B of RAM that is basically our Staging webserver that takes a folder on the local hard drive and FTP it [via Fetch 4.0.1] to our live website.
This Applescript works about 99% of the time but there is that 1% of the time when the transfer fails due to a problem with a file [either on the source or the destination] and the whole transfer just aborts. And the only way that I have been able to recover from this is to Timbuktu into the live site and delete the folder in question and then re-launch that Applescript to update the site again.
My question is this...is this a setting on my end either on the server or on the Fetch side that I have to set to avoid this and just have Fetch upload the file(s) regardless of errors.
Below is my Applescript:
with timeout of 190000 seconds
try
tell application "Fetch 4.0.1"
activate
put into url "ftp://user:blass@111.111.111.11/Server/" item alias "Mac_HD:Server:folder:" text format text binary format Raw Data with replacing
end tell
delay 10
tell application "Outlook Express"
activate
set theContent to "This is to confirm that the primary website has successfully been updated."
set strSUBJ to "Website Updated Successfully"
set strMAILTO to "user@domain.com"
make new draft window with properties {to recipients:strMAILTO, subject:strSUBJ, content:theContent}
send window "Website Updated Successfully"
end tell
on error
tell application "Outlook Express"
activate
set theContent to "The Parade.com primary website had an error updating successfully. Please manually check the site and update accordingly."
set strSUBJ to "ERROR: Website Was Not Updated Successfully"
set strMAILTO to "user@domain.com"
make new draft window with properties {to recipients:strMAILTO, subject:strSUBJ, content:theContent}
send window "ERROR: Website Was Not Updated Successfully"
end tell
end try
end timeout
Would making the following changes have any effect?...
put into url "ftp://user:blass@111.111.111.11/Server/" item alias "Mac_HD:Server:folder:" text format text binary format Automatic with replacing
Instead of text format text binary format Raw Data...make that Raw Data to Automatic
We also tried setting the following in the Applescript before the transfer actually happens but to no avail. The below basically FTP into the live site, delete the live folder before transferring from our Staging server to Live:
tell application "Fetch 4.0.1"
activate
remove url "ftp://user:blass@111.111.111.11/Server/folder/"
end tell
delay 10
This leads me to believe that there is some setting with the Fetch software that I didn't setup correctly(??)...maybe the "Treat mystery items as files" option and have that on??...I'm just brainstorming.
As I mentioned above, the Applescript scripts do work about 99% of the time but we want this Applescript to be "bulletproof" which means reliablity of about 99.99% barring IP Internet connectivity downtime and other connectivity issues that's beyond the control of Fetch.
Any help would be greatly appreciated.
I have tried to work with other FTP clients (Transmit, Interarchy) but none of these work the way we would like it to work. Fetch was the only one that came close to what we want to accomplish since we want to publish more then one site on the same computer which makes Fetch great since you can have multiple connections to the SAME computer and setup multiple source folders via Applescript.
Transmit, however, did have an Applescript command that will let you setup individual source and destination folders but I couldn't get that to work..at least not with the synchronize upload command that Transmit understands.
[This message has been edited by jonau99 (edited 11-01-2001).]
Posted 22 years ago #