Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #19546

Upload fallisce

Path csiph.com!weretis.net!feeder7.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Greg <greg@alicie.com>
Newsgroups it.comp.lang.visual-basic
Subject Upload fallisce
Date Fri, 01 Mar 2019 11:04:59 +0100
Organization solani.org
Lines 17
Message-ID <q5b04g$1qh$1@solani.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding 8bit
X-Trace solani.org 1551434704 1873 127.0.0.43 (1 Mar 2019 10:05:04 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 1 Mar 2019 10:05:04 +0000 (UTC)
X-Newsreader MesNews/1.08.06.00-it
X-User-ID eJwFwQEBADAEBMBKDM/iYPSPsDsTMNoVBrW1LTqiqvnKT3tkRNcsWYEJte8QtXPkvbI0ox8cHBEk
Cancel-Lock sha1:wloJKTJjIu6E2EgVek9sqRYfoGY=
Xref csiph.com it.comp.lang.visual-basic:19546

Show key headers only | View raw


Ciao a tutti,
tramite l'api FtpPutFile carico un piccolo file di testo a intervalli regolari su uno spazio web altervista.
Funziona tutto bene, ma da qualche tempo capita per per giornate intero la scrittura fallisce.
Viene caricato il file, ma è vuoto oppure incompleto, e il risultato della funzione è True.

Public Declare Function FtpPutFile Lib "wininet.dll" Alias "FtpPutFileA" _
(ByVal hFtpSession As Long, ByVal lpszLocalFile As String, _
      ByVal lpszRemoteFile As String, _
      ByVal dwFlags As Long, ByVal dwContext As Long) As Boolean

Ho provato anche a cambiare dwFlags con la costante ascii o binary ma non cambia nulla

Non so proprio cosa fare, poi magari domani torna a scrivere bene, sembra dipenda da Altrervista, ma restando dalla mia 
parte cosa potrei fare io? Usare un'altra funzione? se c'è...

-- 
Greg

Back to it.comp.lang.visual-basic | Previous | NextNext in thread | Find similar


Thread

Upload fallisce Greg <greg@alicie.com> - 2019-03-01 11:04 +0100
  Re: Upload fallisce "Andrea (Work)" <andrea.isworkDELETEME@gmail.invalid> - 2019-03-01 13:33 +0100
    Re: Upload fallisce Greg <greg@alicie.com> - 2019-03-01 15:04 +0100
      Re: Upload fallisce RobertoA <amorosik@tiscalinet.it> - 2019-03-01 18:55 +0100
        Re: Upload fallisce Greg <greg@alicie.com> - 2019-03-01 20:11 +0100
          Re: Upload fallisce Greg <greg@alicie.com> - 2019-03-06 14:09 +0100
            Re: Upload fallisce "Andrea (Work)" <andrea.isworkDELETEME@gmail.invalid> - 2019-03-06 16:19 +0100
              Re: Upload fallisce Greg <greg@alicie.com> - 2019-03-06 16:47 +0100

csiph-web