Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: FTP Issue
Pages: [1] Print
Author Topic: FTP Issue  (Read 281 times)
dbear
Newbie
*
Offline Offline

Posts: 2


View Profile
FTP Issue
« on: April 09, 2007, 01:30:28 PM »

I've run into an odd error message regarding FTP

Using Windows iX86 REBOL/core 2.6.2.3.1 I can write a file to an FTP URL:

>> write ftp://UserName:Password@123.456.789.012/www/cgi-bin/invoices/PO2081 {test}
connecting to: 123.456.789.012

This is confirmed using a commercial FTP program. After this, all attempts to access the file fail, although I am able to write over the top of the existing file. The web server I am writing to is running Windows IIS and I've turned on every permission that there is for the invoices directory and its files.

Suggestions?

=============

>>
>> print exists? ftp://UserName:Password@123.456.789.012/www/cgi-bin/invoices/PO2081
connecting to: 123.456.789.012
false

>>
>> print read ftp://UserName:Password@123.456.789.012/www/cgi-bin/invoices/
connecting to: 123.456.789.012
** Script Error: insert expected series argument of type: series port bitset
** Where: add-date
** Near: insert loc "/" loc: skip

>>
>> delete ftp://UserName:Password@123.456.789.012/www/cgi-bin/invoices/PO2081
connecting to: 123.456.789.012
** Script Error: insert expected series argument of type: series port bitset
** Where: add-date
** Near: delete ftp://UserName:Password@123.456.789.012/www/cgi-bin/invoices/PO2081
>>
Logged
Anton
Jr. Member
**
Offline Offline

Posts: 66

Rebol veteran


View Profile WWW
Re: FTP Issue
« Reply #1 on: April 13, 2007, 12:34:55 AM »

Maybe it is due to cached FTP connections.
By default, the FTP caches 5 connections:

system/schemes/ftp/cache-size ;== 5

So, try setting it to 0:

system/schemes/ftp/cache-size: 0
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: FTP Issue
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 08:13:40 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2311 Posts in 595 Topics by 4143 Members
Latest Member: pobbennaFex

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc